require("@nomicfoundation/hardhat-toolbox");

/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
  // solidity: "0.8.28",
  solidity: {
    version: "0.8.28",
    settings: {
      optimizer: {
        enabled: true,
        runs: 50  // 或更低，比如 20，进一步减小部署体积
      }
    }
  },
  networks: {
    imcnet: {
      url: "http://138.2.13.66:30336",
      accounts: ["1c151ea96bf06718dd5f1590a6cdf78fa8293b8bf6c5724756fd8cb2a9ce42dc"] // 0xBe68D3CD3E2177611ee4baF7f8Bf708534204e15
    },
  }
};
